package com.example.blogcommon.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
public enum ResultCodeEnum {
    SUCCESS(200),
    FAIL(-1);

    private Integer code;

    ResultCodeEnum(Integer code) {
        this.code = code;
    }

    public Integer getCode() {
        return this.code;
    }
}
